﻿using UnityEngine;
using System.Collections;
using System;

public class PathUtil
{
    internal static string getSdPath()
    {
        AndroidJavaClass jc = new AndroidJavaClass("com.vivedu.sdcardget.GetSdcardNameUtil");
        AndroidJavaObject context = new AndroidJavaClass("com.unity3d.player.UnityPlayer").GetStatic<AndroidJavaObject>("currentActivity");
        string path = jc.CallStatic<string>("getStoragePath", context, true);
        return path;
    }
}
